package com.ym.b2b.product.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.ym.b2b.product.sqlbean.EmBProductType;

/**
 * @ClassName: EmBProductTypeDAO
 * @Description: TODO
 * @Author 竺夏军
 * @Date 2015年1月5日 上午11:34:17
 * @Modify
 * @CopyRight 信息化团队
 */
public interface EmBProductTypeDAO {

    void insertEmBProductType(EmBProductType record) throws DataAccessException;

    int updateEmBProductType(EmBProductType record) throws DataAccessException;

    EmBProductType showEmBProductTypeDetail(EmBProductType key) throws DataAccessException;

    List<EmBProductType> searchEmBProductType(EmBProductType emBProductType) throws DataAccessException;

    int deleteEmBProductType(EmBProductType emBProductType) throws DataAccessException;

    Long hasTheRootEmBProductType(EmBProductType emBProductType) throws DataAccessException;

    Integer searchTypeLevel() throws DataAccessException;

}
